class Employee():
    def __init__(self, name, money):
        # 初始化方法
        self.name = name
        self.money = money
        self.number = 0

    def give_raise(self):
        a = int(input("是否为另外年薪增加量，不是则填0"))
        if a == 0:
            self.money += 5000
        else:
            self.money += int(a)
        return self.money

people = Employee("liuyang", 10000)
print(people.give_raise())

